package com.laolang.pluto.module.sys.service.impl;

import com.laolang.pluto.common.persist.service.impl.BaseServiceImpl;
import com.laolang.pluto.module.sys.entity.SysDictType;
import com.laolang.pluto.module.sys.mapper.SysDictTypeMapper;
import com.laolang.pluto.module.sys.service.SysDictTypeService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * @author laolang
 * @date 2021-07-2021/7/31 18:14
 */
@RequiredArgsConstructor
@Service
public class SysDictTypeServiceImpl extends BaseServiceImpl<SysDictTypeMapper, SysDictType> implements SysDictTypeService {

    private final SysDictTypeMapper sysDictTypeMapper;

    @Override
    public SysDictType selectByDictType(String dictType) {
        return sysDictTypeMapper.selectByDictType(dictType);
    }
}
